package com.xianrenit.xianrenpuzi.pay;

import com.xianrenit.xianrenpuzi.common.handler.interceptor.EnableSpzxServiceAuth;
import com.xianrenit.xianrenpuzi.order.anno.EnableOrderClientConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableAsync
@SpringBootApplication //(exclude = DataSourceAutoConfiguration.class)
@EnableSpzxServiceAuth
@EnableFeignClients(basePackages = {"com.xianrenit.xianrenpuzi"})
@EnableOrderClientConfig
public class SpzxPayApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpzxPayApplication.class,args);
    }
}
